package com.xyazm.order.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xyazm.common.domain.BaseDO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 订单配送信息表
 * </p>
 *
 * @author xuyou
 * @since 2022-05-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "OrderDeliveryDetail对象", description = "订单配送信息表")
@TableName("order_delivery_detail")
public class OrderDeliveryDetailDO extends BaseDO implements Serializable {


    @ApiModelProperty(value = "订单编号")
    @TableField("order_id")
    private String orderId;

    @ApiModelProperty(value = "配送类型")
    @TableField("delivery_type")
    private Integer deliveryType;

    @ApiModelProperty(value = "省")
    private String province;

    @ApiModelProperty(value = "市")
    private String city;

    @ApiModelProperty(value = "区")
    private String area;

    @ApiModelProperty(value = "街道")
    private String street;

    @ApiModelProperty(value = "详细地址")
    @TableField("detail_address")
    private String detailAddress;

    @ApiModelProperty(value = "经度")
    private BigDecimal lon;

    @ApiModelProperty(value = "维度")
    private BigDecimal lat;

    @ApiModelProperty(value = "收货人姓名")
    @TableField("receiver_name")
    private String receiverName;

    @ApiModelProperty(value = "收货人电话")
    @TableField("receiver_phone")
    private String receiverPhone;

    @ApiModelProperty(value = "调整地址次数")
    @TableField("modify_address_count")
    private Integer modifyAddressCount;

    @ApiModelProperty(value = "配送员编号")
    @TableField("deliverer_no")
    private String delivererNo;

    @ApiModelProperty(value = "配送员姓名")
    @TableField("deliverer_name")
    private String delivererName;

    @ApiModelProperty(value = "配送员手机号")
    @TableField("deliverer_phone")
    private String delivererPhone;

    @ApiModelProperty(value = "出库时间")
    @TableField("out_stock_time")
    private Date outStockTime;

    @ApiModelProperty(value = "签收时间")
    @TableField("signed_time")
    private Date signedTime;



}
